package com.ruoyi.web.inventory.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 存货分类对象 InventoryClass
 * 
 * @author ruoyi
 * @date 2024-08-19
 */
@Entity
@Table(name = "InventoryClass")
public class InventoryClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**   */
    @Id
    private String cInvCCode;

    /**   */
    @Excel(name = " ")
    private String cInvCName;

    /**   */
    @Excel(name = " ")
    private Long iInvCGrade;

    /**   */
    @Excel(name = " ")
    private Long bInvCEnd;

    /**   */
    @Excel(name = " ")
    private String cEcoCode;

    /**   */
    @Excel(name = " ")
    private String cBarCode;

    /**   */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pubufts;

    public void setcInvCCode(String cInvCCode) 
    {
        this.cInvCCode = cInvCCode;
    }

    public String getcInvCCode() 
    {
        return cInvCCode;
    }
    public void setcInvCName(String cInvCName) 
    {
        this.cInvCName = cInvCName;
    }

    public String getcInvCName() 
    {
        return cInvCName;
    }
    public void setiInvCGrade(Long iInvCGrade) 
    {
        this.iInvCGrade = iInvCGrade;
    }

    public Long getiInvCGrade() 
    {
        return iInvCGrade;
    }
    public void setbInvCEnd(Long bInvCEnd) 
    {
        this.bInvCEnd = bInvCEnd;
    }

    public Long getbInvCEnd() 
    {
        return bInvCEnd;
    }
    public void setcEcoCode(String cEcoCode) 
    {
        this.cEcoCode = cEcoCode;
    }

    public String getcEcoCode() 
    {
        return cEcoCode;
    }
    public void setcBarCode(String cBarCode) 
    {
        this.cBarCode = cBarCode;
    }

    public String getcBarCode() 
    {
        return cBarCode;
    }
    public void setPubufts(Date pubufts) 
    {
        this.pubufts = pubufts;
    }

    public Date getPubufts() 
    {
        return pubufts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cInvCCode", getcInvCCode())
            .append("cInvCName", getcInvCName())
            .append("iInvCGrade", getiInvCGrade())
            .append("bInvCEnd", getbInvCEnd())
            .append("cEcoCode", getcEcoCode())
            .append("cBarCode", getcBarCode())
            .append("pubufts", getPubufts())
            .toString();
    }
}
